package com.medical.manage.domain;

import com.medical.common.core.annotation.Excel;
import com.medical.common.core.web.domain.BaseEntity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentManagement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 科室编号 */
    private Long departmentId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String departmentName;

    /** 医院编号 */
    @Excel(name = "医院编号")
    private Long hospitalId;

    private Integer doctorCount;

    private Integer numberOfConsultations;

    private Integer rankOfPhysician;

    private Integer numPhysicians;


    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName)
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName()
    {
        return departmentName;
    }
    public void setHospitalId(Long hospitalId)
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId()
    {
        return hospitalId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("departmentId", getDepartmentId())
                .append("departmentName", getDepartmentName())
                .append("hospitalId", getHospitalId())
                .toString();
    }

}
